//
//  BaseItemModel.h
//  PublicInfo
//
//  Created by enghou on 2017/12/25.
//  Copyright © 2017年 xyxorigation. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface BaseItemModel : NSObject

-(instancetype)initWithSource:(NSDictionary *)source;

-(NSString *)contentForKey:(NSString *)key withSource:(NSDictionary *)source;

-(NSString *)intContentForKey:(NSString *)key withSource:(NSDictionary *)source;

-(CGFloat)floatContentForKey:(NSString *)key withSource:(NSDictionary *)source;

@property(nonatomic,assign)CGFloat height;

@end
